home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / commadio / freespch / modem.lzh / MODEM.DOC next >
Encoding:
Text File  |  1990-11-20  |  9.5 KB  |  176 lines

  1.  
  2.  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▀▀▀▀▀▀▀▀▀▀▀▀▀▀█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  3.  █  ▄▄▄ █  ▄▄▄▄█▐▐▐▐▐▌▐▌▌▌▌▌█▀                  ▀█▐▐▐▐▐▌▐▌▌▌▌▌█  ▄▄▄ █  ▄▄▄▄█
  4.  █  ▀▀▀ █▄▄▄▄  █▌▌▌▌▌▐▌▐▐▐▐▐      M O D E M !     ▌▌▌▌▌▐▌▐▐▐▐▐█  ▀▀▀ █▄▄▄▄  █
  5.  █  █████▀▀▀▀  █▐▐▐▐▐▌▐▌▌▌▌▌█▄                  ▄█▐▐▐▐▐▌▐▌▌▌▌▌█  █████▀▀▀▀  █
  6.  █▄▄█████▄▄▄▄▄▄█▌▌▌▌▌▐▌▐▐▐▐▐▐▐██▄▄▄▄▄▄▄▄▄▄▄▄▄▄██▌▌▌▌▌▌▌▐▌▐▐▐▐▐█▄▄█████▄▄▄▄▄▄█
  7.  ██║▐▌║█║▌║▐║▐▌║█║▌║▐║▐▌║█║▌║▐║▐▌║█║▌║▌█║▐▌║█║▌║▐║▐▌║█║▌║▐║▐▌║█║▌║▐║▐▌║█║▌║██
  8.  █▌                                                                        ▐█
  9.  █                                                                          █
  10.  █     MODEM is a handy modem utility that can be used in a batch file.     █
  11.  █                                                                          █
  12.  █                                      ┌───────┐                           █
  13.  █     For  quick-start  help,  enter   │ MODEM │   at  the DOS prompt.     █
  14.  █                                      └───────┘                           █
  15.  █▌                                                                        ▐█
  16.  ██║▐▌║█║▌║▐║▐▌║█║▌║▐║▐▌║█║▌║▐║▐▌║█║▌║▌█║▐▌║█║▌║▐║▐▌║█║▌║▐║▐▌║█║▌║▐║▐▌║█║▌║██
  17.  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  18.  
  19.  
  20. █   █ █          █        ▀   █          █
  21. █ █ █ █▀▀█ ▀▀▀█ ▀█▀▀     ▀█  ▀█▀▀     █▀▀█ █▀▀█ █▀▀█ █▀▀▀
  22. █ █ █ █  █ █▀▀█  █        █   █       █  █ █  █ █▀▀▀ ▀▀▀█
  23. ▀▀▀▀▀ ▀  ▀ ▀▀▀▀  ▀▀▀     ▀▀▀  ▀▀▀     ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
  24.  
  25. MODEM enables you to perform basic modem operations within a batch file,  and
  26. check the results using DOS ERRORLEVEL processing.
  27.  
  28. For programming notes  on this subject,  see your  DOS  manual.  One thing to
  29. remember is that an "IF ERRORLEVEL" statement is considered TRUE if the error
  30. level is the specified value or higher.  So always test  the highest possible
  31. values first.
  32.  
  33. ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙
  34.  
  35. █▀▀▀▀                               █
  36. █     █▀▀█ █▀█▀█ █▀█▀█ ▀▀▀█ █▀▀█ █▀▀█ █▀▀▀
  37. █     █  █ █ █ █ █ █ █ █▀▀█ █  █ █  █ ▀▀▀█
  38. ▀▀▀▀▀ ▀▀▀▀ ▀   ▀ ▀   ▀ ▀▀▀▀ ▀  ▀ ▀▀▀▀ ▀▀▀▀
  39. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  40. NOTE:  MODEM works on either COM1 or COM2.
  41. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  42. Command:  MODEM port SETBAUD baudrate
  43. Example:  MODEM 2 SETBAUD 1200
  44. Action:   Initializes modem port and sets it to the specified baudrate.
  45.           Use this command before any of the other commands.
  46. Returns:  0
  47. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  48. Command:  MODEM port at-command
  49. Example:  MODEM 1 ATH1
  50. Action:   Sends AT command to the modem and waits for OK.
  51. Returns:  0 if OK; 200 for any other response
  52. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  53. Command:  MODEM port WAIT at-command [greeting-string]
  54. Example:  MODEM 2 WAIT ATS0=1
  55. Action:   Sends AT command to the modem and waits for an incoming call.
  56. Returns:  11 =  300 baud; 12 = 1200 baud; 13 = 2400 baud; 14 = 4800 baud;
  57.           15 = 9600 baud; 16 = 19200 baud; 255 if user pressed ESC to cancel
  58. Notes:    19200 baud does not function reliably on 4.77 Mhz machines.
  59.           The greeting-string, if specified, is transmitted at connect time.
  60. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  61. Command:  MODEM port DIAL at-command
  62. Example:  MODEM 1 DIAL ATDT1-514-345-8654
  63. Action:   Sends AT command to modem and waits for connection to remote system.
  64. Returns:  11 =  300 baud; 12 = 1200 baud; 13 = 2400 baud; 14 = 4800 baud;
  65.           15 = 9600 baud; 16 = 19200 baud; 255 if user pressed ESC to cancel
  66. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  67. Command:  MODEM port RAMDIAL at-command
  68. Example:  MODEM 1 RAMDIAL ATDT1-514-345-8654
  69. Action:   Same as DIAL, but dials until connection, or until ESC is pressed.
  70. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  71. Command:  MODEM port CARRIER
  72. Example:  MODEM 2 CARRIER
  73. Action:   Checks for presence of carrier.
  74. Returns:  0 if carrier present; 1 if not present
  75. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  76. Command:  MODEM port DSR
  77. Example:  MODEM 1 DSR
  78. Action:   Checks for presence of dataset ready (modem turned on).
  79. Returns:  0 if ready; 1 if not ready
  80. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  81. Command:  MODEM port DROPDTR
  82. Example:  MODEM 1 DROPDTR
  83. Action:   Lowers Data Terminal Ready.  This hangs up most brands of modem.
  84. Returns:  0
  85. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  86. Command:  MODEM port PAUSE time-in-seconds
  87. Example:  MODEM 2 PAUSE 15
  88. Action:   Monitors the modem for incoming characters, which are displayed,
  89.           until the time is up or the user presses spacebar or ESC.
  90. Returns:  0 for time-out; 254 if user hit spacebar; 255 if user hit ESC
  91. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  92. Command:  MODEM port TERM
  93. Example:  MODEM 1 TERM
  94. Action:   A simple terminal program for checking and setting modem parameters.
  95. Returns:  0
  96. ·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·─·
  97.  
  98.  
  99. If you find  MODEM  to be of value,  you can obtain  MORE  excellent  software
  100. from Pinnacle Software -- Canada's most  PROLIFIC  creators  of shareware.  We
  101. have many  communications-oriented  products that you will find  VERY  USEFUL.
  102. Plus an exceptionally fine assortment  of utilities, business tools and games!
  103.  
  104.  
  105. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  106.  
  107. ▄▄▄        W O W !                  ▄▄            ▄▄▄▄  ▄▄  ▄▄▄             ██
  108.  █                       █  ▀  █     █            █  █  █   █               ██
  109.  █  █▀▀█ █▀▀ █▀▀ █▀▀█ █▀▀█ ▀█  █▀▀█  █  █▀▀█      █  █ ▀█▀ ▀█▀ █▀▀█ █▀▀▀    ██
  110.  █  █  █ █   █   █▀▀▀ █  █  █  █  █  █  █▀▀▀      █  █  █   █  █▀▀▀ █       ▄▄
  111. ▀▀▀ ▀  ▀ ▀▀▀ ▀   ▀▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀▀      ▀▀▀▀  ▀   ▀  ▀▀▀▀ ▀       ▀▀
  112. And here's something that  no other  major shareware company has ever offered:
  113. COMPLETE SOURCE  and  MODIFICATION/REMARKETING LICENSES  for MAJOR PRODUCTS --
  114. for less than $60!   What better way to celebrate the generosity of shareware?
  115.  
  116. \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
  117.  
  118.  
  119. █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  120. █ Your VALUE-PACKED GRAB-BAG of Pinnacle's high-quality shareware and superb █
  121. █ public domain  goodies  is a sizzling  software super-bargain -- ONLY $15! █
  122. █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  123. █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
  124. █░▒░▓░▒░▓░▒░▓░░░ MONEY REFUNDED IF YOU ARE NOT 100% DELIGHTED ░░░▓░▒░▓░▒░▓░▒░█
  125. █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
  126. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  127.  
  128. Pinnacle Software  is one of North America's FOREMOST SOURCES of public domain
  129. and shareware programs, with  COUNTLESS SATISFIED CUSTOMERS  around the world!
  130.  
  131.  
  132. ███████  ██      ██  ██  ██████
  133. ██░░░██░ ██░     ██░ ██░ ██░░░░░
  134. ███████░▒██░▒    ██░ ██░▒██████▒▒
  135. ██░░░░░░▒██░▒    ██░ ██░▒    ██░▒
  136. ██░▒▒▒▒▒▒██████  ██████░▒██████░▒
  137.  ░░▒      ░░░░░░  ░░░░░░▒ ░░░░░░▒        A TRULY AMAZING SPECIAL OFFER!
  138.   ▒▒       ▒▒▒▒▒▒  ▒▒▒▒▒▒  ▒▒▒▒▒▒
  139.  
  140. If you order your power-packed software sampler (just $15!) before October '91,
  141. we'll send you Pinnacle Software's exclusive DOLLARWARE package, which lets OUR
  142. shareware make YOU money!
  143.  
  144.  
  145. █    █▀▀▀ █▀▀▀ █▀▀█ █      █▀▀▀ ▀▀█▀▀ █  █ █▀▀▀ █▀▀▀  ════════════════════════╕
  146. █    █▀▀  █ ▀█ █▀▀█ █      ▀▀▀█   █   █  █ █▀▀  █▀▀                           │
  147. ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀  ▀ ▀▀▀▀   ▀▀▀▀   ▀   ▀▀▀▀ ▀    ▀                             │
  148. ║  MODEM is COPYRIGHT (C) 1990 Pinnacle Software of Ville Mont Royal Quebec.  │
  149. ║  You may give/sell this program as long as you do not alter or exclude any  │
  150. ║  of the original files (MODEM.EXE, MODEM.DOC and PRINTORD.BAT)  and do not  │
  151. ║  charge more than U.S. $9 for each copy you sell.                           │
  152. ╙─────────────────────────────────────────────────────────────────────────────┘
  153.  
  154.  
  155.      ▐                                                          ▐
  156.      ▐█     CANADIAN ORDERS (Canadian funds at par):           ▄▀
  157.       █▌    Pinnacle Software, CP 386 Mont Royal H3P 3C6       ▀▄▀█
  158.        █▌                                                        ▄▀
  159.        ▐█                                              ▄▀▀▀█▄▀▄▄▀
  160.         █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  ▄▄▄   ▄        ▄▀▀▀▀   ▄▀
  161.        ▐█                       ▀▀▀ ▄▀ █▀ █    ▄▀▀       ▀▄
  162.        █                             █ ▐▌  ▀█▄▀         ▄▀    FOREIGN ORDERS:
  163.       ▐█                              ▀▀              █▀      Pinnacle Software
  164.        █▌        U.S. ORDERS:                       ▄▀        1250 Laird 1A
  165.         █        Pinnacle Software                 █          Montreal, Canada
  166.         ▀█        Box 714 Airport Road             ▐▌         H3P 2T2
  167.          ▀█         Swanton, Vermont              ▄▀
  168.           █▄          05488                     ▄▀            Remit payment
  169.            ▀▀█                                ▄▀              in U.S. funds
  170.               ▀▀▀▀▀▄                   ▄▄▄▄▄   █
  171.                     ▀█        ▄▀▀▀▀▀▀▀▀     ▀▄  █
  172. Use the handy        █▄      █                █  █
  173. PRINTORD command       ▀█   █    Just $15!     ▀▀
  174. to print out your       ▀█ █
  175. quick-order form!        ▀▀
  176.